package com.liuxing.doctor.service;

import com.liuxing.doctor.entity.Doctor;

import java.util.List;
import java.util.Map;

/**
 * @athuer 行柳
 */

public interface DoctorService {
    /**
     * 查询id和密码
     * @param map
     * @return
     */
    Doctor queryByIdAndPwd(Map<String,Object> map);

    /**
     * 更新密码
     * @param map
     * @return
     */
    int updateDoctorLoginPasswd(Map<String,Object> map);

    List<Doctor> selectAll();

    int insert(Doctor record);
}
